<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2022/6/8
 * Time: 上午11:12
 */

namespace App\Tools\Astrolog;

use App\Tools\Astrolog\LogicBase;
/**
 * 理想恋人
 * Class IdealLover
 * @package app\common\lib\astrolog
 */
class IdealLover extends LogicBase
{
    /**
     * 单例
     * @var IdealLover
     */
    protected static $instance;

    /**
     * 计算报告时产生的错误信息
     * @var string
     */
    protected $error = '';

    /**
     * 用户档案信息
     * @var array
     */
    protected $userRecord = [];

    /**
     * 进行匹配的档案列表
     * @var array
     */
    protected $recordList = [];

    /**
     * 匹配档案的星盘数据
     * @var array
     */
    protected $astroData = [];

    protected $config = [
        // 外貌
        [
            'id' => 1,
            'type' => 1,
            'name' => '英俊潇洒',
            'sex' => 1,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 53],// a命主与金星合相  53%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 50],// b太阳与金星合相  50%
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 46],// c金星在1宫  46%
                    ['type' => 13, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 43],// c命主与金星互溶  43%
                ],
                'B' => [
                    ['type' => 8, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 20],// a金星庙旺（金星落金牛/天秤/双鱼）20%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 20],// b上升射手 20%
                    ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 16],// c木星在1宫 16%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 5, 'obj3' => [0], 'res' => 13],// d命主与木星合相  13%
                    ['type' => 13, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 13],// e命主与木星互溶  13%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => 13],// f命主与太阳合相  13%
                ],
            ],
        ],
        [
            'id' => 2,
            'type' => 1,
            'name' => '温文尔雅',
            'sex' => 1,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 53],// a命主与金星合相  53%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 50],// b太阳与金星合相  50%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => true],
                            ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => false],
                        ], 'res' => 46
                    ],// c金星（不在处女座，白羊座，天蝎座）在1宫  46%
                    ['type' => 13, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 46],// d命主与金星互溶  46%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => false],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 46
                    ],// 上升天秤（太阳和金星不在12宫） 46%
                ],
                'B' => [
                    ['type' => 8, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 23],// a金星庙旺（金星落金牛/天秤/双鱼）23%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 21],// b命主月亮合相 21%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 20],// c上升巨蟹 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 7, 'obj3' => [0], 'res' => 16],// d太阳天秤 16%
                    ['type' => 9, 'obj1' => 7, 'obj2' => null, 'obj3' => null, 'res' => 16],// e群星天秤 16%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => [0], 'res' => 16],// f月亮在1宫 16%
                ],
            ],
        ],
        [
            'id' => 3,
            'type' => 1,
            'name' => '深邃性感',
            'sex' => 1,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 8, 'obj3' => [0], 'res' => 53],// a上升天蝎 53%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 8, 'obj3' => [0], 'res' => 50],// b命主在8宫 50%
                    ['type' => 9, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => 50],// c群星天蝎 50%
                ],
                'B' => [
                    ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [90, 180], 'res' => 25],// a金星与木星刑克 25%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => 23],// b命主在天蝎 23%
                    ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => 23],// c冥王星落1宫 23%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 8, 'obj3' => null, 'res' => 18],// d太阳天蝎 18%
                    ['type' => 1, 'obj1' => 3, 'obj2' => 8, 'obj3' => null, 'res' => 16],// e金星在天蝎 16%
                ],
            ],
        ],
        [
            'id' => 4,
            'type' => 1,
            'name' => '运动阳光型',
            'sex' => 1,
            'except' => [
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星8宫或12宫
                ['type' => 10, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => true],// 太阳在12宫
                ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 命主在12宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 53],// a上升白羊 53%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星白羊 50%
                    ['type' => 9, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => 48],// b群星摩羯 48%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 46],// c太阳白羊 46%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 4, 'obj2' => 1, 'obj3' => null, 'res' => 26],// a火星在1宫 16%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 26],// b命主在3宫 16%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 26],// c命主在白羊 16%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 4, 'obj3' => [0], 'res' => 13],// d命主与火星合相 13%
                ],
            ],
        ],
        [
            'id' => 5,
            'type' => 1,
            'name' => '眉清目秀',
            'sex' => 1,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 6, 'obj3' => null, 'res' => 50],// a上升处女 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => 50],// b上升天秤 50%
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 46],// c金星在1宫 46%
                    ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 46],// d水星在1宫 46%
                    ['type' => 9, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => 40],// e群星处女 40%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 20],// a命主与金星合相  20%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 20],// b太阳与金星合相  20%
                    ['type' => 13, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 18],// c命主与金星互溶  18%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 16],// d太阳处女 16%
                ],
            ],
        ],
        [
            'id' => 6,
            'type' => 1,
            'name' => '棱角分明',
            'sex' => 1,
            'except' => [
                ['type' => 5, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => true],// 金星月亮合相或互溶接纳（三分以下不算）
                ['type' => 6, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => true],
                ['type' => 7, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => true],
                ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => true],// 上升双鱼
                ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星双鱼
                ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => true],// 月亮在1宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 53],// a上升摩羯 53%
                    ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => 50],// b土星在1宫 50%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0], 'res' => 45],// c命主与土星合相 45%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 11, 'obj3' => [0], 'res' => 23],// a上升水瓶 23%
                    ['type' => 2, 'obj1' => 4, 'obj2' => 1, 'obj3' => [0], 'res' => 20],// b火星在1宫 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 20],// c太阳摩羯 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => 16],// d太阳水瓶 16%
                ],
            ],
        ],
        [
            'id' => 7,
            'type' => 1,
            'name' => '温润如玉',
            'sex' => 1,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true,
                ],
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => false],// 群星8宫
                ['type' => 10, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => false],// 群星12宫
                ['type' => 1, 'obj1' => ASC, 'obj2' => 8, 'obj3' => null, 'res' => false],// 上升天蝎
                ['type' => 9, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => false],// 群星天蝎
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 53],// a上升双鱼 50%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 50],// b太阳合相金星 50%
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 46],// c金星在1宫  46%
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 46],// d群星双鱼 46%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 23],// a命主金星合相 23%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 2, 'obj3' => null, 'res' => 21],// b上升金牛 21%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 21],// c太阳双鱼 21%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 21],// d命主在双鱼 21%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 2, 'obj3' => null, 'res' => 21],// e太阳金牛 20%
                ],
            ],
        ],
        [
            'id' => 8,
            'type' => 1,
            'name' => '气宇轩昂',
            'sex' => 1,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 53],// a上升狮子 53%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 46],// b太阳在1宫 46%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => null, 'res' => 50],// c命主太阳合相 50%
                ],
                'B' => [
                    ['type' => 3, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 20],// a命主在狮子20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 20],// b太阳狮子 20%
                ],
            ],
        ],

        [
            'id' => 9,
            'type' => 1,
            'name' => '可爱娃娃脸',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星在1宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// a上升双鱼 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 46],// b上升巨蟹 46%
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 43],// c群星双鱼 43%
                ],
                'B' => [
                    ['type' => 3, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 18],// a命主在双鱼 18%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 16],// b命主在巨蟹 16%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 16],// c太阳双鱼 16%
                ],
            ],
        ],
        [
            'id' => 10,
            'type' => 1,
            'name' => '性感女神',
            'sex' => 2,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 1, 'obj1' => ASC, 'obj2' => 8, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 50
                    ],// a上升天蝎（且金星不在12宫） 50%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 9, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 23
                    ],// b群星天蝎（且金星不在12宫） 23%
                ],
                'B' => [
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 22
                    ],// a太阳与金星合相（且金星不在12宫） 22%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 3, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 21
                    ],// a命主在天蝎（且金星不在12宫） 21%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 21
                    ],// b群星在8宫（且金星不在12宫） 21%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 4, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ], 'res' => 20
                    ],// c命主在8宫（且金星不在12宫） 20%
                ],
            ],
        ],
        [
            'id' => 11,
            'type' => 1,
            'name' => '五官清秀',
            'sex' => 2,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星在1宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 6, 'obj3' => null, 'res' => 50],// a上升处女 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => 46],// b上升天秤 46%
                ],
                'B' => [
                    ['type' => 3, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 23],// a命主在处女 23%
                    ['type' => 9, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => 20],// b群星处女 20%
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 20],// c金星在1宫 20%
                    ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 18],// d水星在1宫 18%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 16],// e命主与水星合相 16%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => 16],// f太阳与水星合相 16%
                ],
            ],
        ],
        [
            'id' => 12,
            'type' => 1,
            'name' => '活力四射',
            'sex' => 2,
            'except' => [
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星8宫或12宫
                ['type' => 10, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 太阳或命主落8宫或12宫
                ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 50],// a上升白羊 50%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 40],// b群星白羊 40%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 4, 'obj2' => 1, 'obj3' => null, 'res' => 16],// a火星在1宫 16%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 16],// b命主在白羊 16%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 4, 'obj3' => [0], 'res' => 13],// c命主火星合相 13%
                ],
            ],
        ],
        [
            'id' => 13,
            'type' => 1,
            'name' => '气质优雅',
            'sex' => 2,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => true],// 金星在白羊座、处女座、天蝎座
                        ['type' => 2, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => true],// 且金星落12宫
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => 50],// a上升天秤 50%
                    ['type' => 9, 'obj1' => 7, 'obj2' => null, 'obj3' => null, 'res' => 50],// b 群星天秤 50%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 50],// c太阳金星合相 50%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 50],// d命主金星合相 50%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 23],// a金星在1宫 23%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 7, 'obj3' => null, 'res' => 20],// b太阳天秤 20%
                    ['type' => 8, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 20],// c金星庙旺 20%
                ],
            ],
        ],
        [
            'id' => 14,
            'type' => 1,
            'name' => '楚楚动人',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星在1宫
                ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0], 'res' => true],// 命主与土星合相
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// a上升双鱼 50%
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 46],// b群星双鱼 46%
                ],
                'B' => [
                    ['type' => 3, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 21],// a命主在双鱼 21%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 18],// b月亮在1宫 18%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 1, 'obj3' => [0], 'res' => 18],// c命主与月亮合相 16%
                ],
            ],
        ],
        [
            'id' => 15,
            'type' => 1,
            'name' => '中性风',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => 50],// a上升双子 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => 46],// b太阳双子 46%
                ],
                'B' => [
                    ['type' => 9, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 21],// a群星双子 21%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 20],// b命主在双子 20%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 18],// c上升白羊 18%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 16],// d群星白羊 16%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 6],// e命主水星合相 6%
                ],
            ],
        ],
        [
            'id' => 16,
            'type' => 1,
            'name' => '御姐',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => true],// 太阳或命主在12宫
                ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 50],// a上升狮子 50%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 46],// b太阳在1宫 46%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => 40],// c命主太阳合相 40%
                    [
                        'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 4, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => true],
                        ], 'res' => 38
                    ],// d命主或太阳在10宫 38%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 20],// a太阳狮子 20%
                    ['type' => 9, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => 20],// b群星狮子 20%
                ],
            ],
        ],

        // 性格
        [
            'id' => 17,
            'type' => 2,
            'name' => '桀骜不驯',
            'sex' => 1,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 50],// a上升狮子 50%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 46],// b太阳在1宫 46%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => 46],// c命主太阳合相  46%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 40],// d上升白羊 40%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 18],// a太阳狮子 18%
                    ['type' => 2, 'obj1' => 4, 'obj2' => 1, 'obj3' => null, 'res' => 16],// b火星在1宫 16%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 16],// c命主在狮子16%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 4, 'obj3' => [0], 'res' => 16],// d太阳火星合相 16%
                ],
            ],
        ],
        [
            'id' => 18,
            'type' => 2,
            'name' => '踏实稳重',
            'sex' => 1,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 2, 'obj3' => null, 'res' => 50],// a上升金牛 50%
                    ['type' => 9, 'obj1' => 0, 'obj2' => 2, 'obj3' => null, 'res' => 50],// b群星金牛 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 50],// c上升摩羯 50%
                    ['type' => 9, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => 50],// d群星摩羯 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 2, 'obj3' => null, 'res' => 46],// e太阳金牛 46%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 46],// f太阳摩羯 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 1, 'obj2' => 2, 'obj3' => null, 'res' => 20],// a月亮金牛 20%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => 20],// b月亮摩羯 20%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 6, 'obj3' => null, 'res' => 13],// c上升处女 13%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 6, 'obj3' => null, 'res' => 13],// d太阳处女 13%
                    ['type' => 9, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => 13],// e群星处女 13%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 10],// f月亮处女 10%
                ],
            ],
        ],
        [
            'id' => 19,
            'type' => 2,
            'name' => '直率坦诚',
            'sex' => 1,
            'except' => [
                ['type' => 1, 'obj1' => ASC, 'obj2' => [4, 8, 12], 'obj3' => null, 'res' => true],// 上升落在双鱼，巨蟹，天蝎座
                ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 太阳或命主落8宫或12宫
                ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星8宫或12宫
                ['type' => 10, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 8, 'obj2' => 1, 'obj3' => null, 'res' => true],// 冥王星或海王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],
                ['type' => 5, 'obj1' => 0, 'obj2' => 9, 'obj3' => [0], 'res' => true],// 命主或太阳合冥王星
                ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0], 'res' => true],
                ['type' => 5, 'obj1' => 0, 'obj2' => 8, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与海王星成相位
                ['type' => 12, 'obj1' => 1, 'obj2' => 8, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 太阳与海王星成相位
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 50],// a上升白羊 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 46],// b太阳白羊 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 20],// a月亮白羊 20%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 20],// b群星白羊 20%
                ],
            ],
        ],
        [
            'id' => 20,
            'type' => 2,
            'name' => '才思敏捷',
            'sex' => 1,
            'except' => [
                ['type' => 17, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => true],// 水星落陷
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => 50],// a上升双子 50%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => 46],// b太阳水星合相 46%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 21],// a命主水星合相 21%
                    ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 20],// b水星在1宫 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => 16],// c太阳双子 16%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 13],// d月亮双子 13%
                ],
            ],
        ],
        [
            'id' => 21,
            'type' => 2,
            'name' => '心思细腻',
            'sex' => 1,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 50],// a上升巨蟹 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 40],// b月亮巨蟹 40%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => 40],// c太阳巨蟹 40%
                    ['type' => 9, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => 33],// d群星巨蟹 33%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 16],// a命主月亮合相 16%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 16],// b命主在巨蟹 16%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 10],// c月亮在1宫 10%
                ],
            ],
        ],
        [
            'id' => 22,
            'type' => 2,
            'name' => '低调内敛',
            'sex' => 1,
            'except' => [
                ['type' => 1, 'obj1' => ASC, 'obj2' => [1, 5], 'obj3' => null, 'res' => true],// 上升在狮子座或白羊座
                ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => true],// 命主和太阳合相
                ['type' => 9, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星狮子
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 50],// a上升摩羯 50%
                    ['type' => 9, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => 46],// b群星摩羯 46%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 8, 'obj3' => null, 'res' => 43],// c上升天蝎 43%
                    ['type' => 9, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => 43],// d群星天蝎 43%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => 20],// a土星在1宫 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 18],// b太阳摩羯 18%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 8, 'obj3' => null, 'res' => 18],// d太阳天蝎 18%
                ],
            ],
        ],
        [
            'id' => 23,
            'type' => 2,
            'name' => '乐天派',
            'sex' => 1,
            'except' => [
                ['type' => 1, 'obj1' => 1, 'obj2' => [8, 10], 'obj3' => null, 'res' => true],// 月亮在天蝎座或摩羯座
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],//  土星或冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],//
                ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 命主，太阳或月亮落在8宫或12宫
                ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 2, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 11, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 1,12同主
                ['type' => 16, 'obj1' => 1, 'obj2' => 12, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与12主产生相位（含互溶）
                ['type' => 19, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],//
                ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0], 'res' => true],// 命主和冥王星合相
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 50],// a上升射手 50%
                    ['type' => 9, 'obj1' => 9, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星射手 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 9, 'obj3' => null, 'res' => 46],// c太阳射手 46%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 9, 'obj3' => null, 'res' => 46],// d月亮射手 46%
                    ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 46],// e木星在1宫 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 21],// a上升白羊 21%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 5, 'obj3' => [0], 'res' => 21],// b命主木星合相 21%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 5, 'obj3' => [0], 'res' => 21],// c太阳木星合相 21%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 20],// d太阳白羊 20%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 16],// e月亮白羊 16%
                ],
            ],
        ],
        [
            'id' => 24,
            'type' => 2,
            'name' => '自在随性',
            'sex' => 1,
            'except' => [
                ['type' => 1, 'obj1' => 1, 'obj2' => [8, 10], 'obj3' => null, 'res' => true],// 月亮在天蝎座或摩羯座
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],//  土星或冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],//
                ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 命主，太阳或月亮落在8宫或12宫
                ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 2, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 11, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 1,12同主
                ['type' => 16, 'obj1' => 1, 'obj2' => 12, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与12主产生相位（含互溶）
                ['type' => 19, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],//
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星8宫或12宫
                ['type' => 10, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => true],//
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 50],// a上升射手 50%
                    ['type' => 9, 'obj1' => 9, 'obj2' => null, 'obj3' => null, 'res' => 46],// b群星射手 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 9, 'obj3' => null, 'res' => 46],// c月亮射手 46%
                    ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 46],// d木星在1宫 46%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 9, 'obj3' => null, 'res' => 46],// e太阳射手 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 11, 'obj3' => null, 'res' => 16],// a上升水瓶 16%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => 16],// b太阳水瓶 16%
                    ['type' => 9, 'obj1' => 11, 'obj2' => null, 'obj3' => null, 'res' => 16],// c群星水瓶 16%
                ],
            ],
        ],
        [
            'id' => 25,
            'type' => 2,
            'name' => '少年老成',
            'sex' => 1,
            'except' => [
                ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => true],// 水星在1宫
                ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => true],// 月亮在1宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 50],// a上升摩羯 50%
                    ['type' => 9, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星摩羯 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 43],// c太阳摩羯 43%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => 21],// a土星在1宫 21%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0], 'res' => 18],// b命主土星合相 18%
                ],
            ],
        ],
        [
            'id' => 26,
            'type' => 2,
            'name' => '心思单纯',
            'sex' => 1,
            'except' => [
                ['type' => 1, 'obj1' => 1, 'obj2' => [8, 10], 'obj3' => null, 'res' => true],// 月亮在天蝎座或摩羯座
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],//  土星或冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],//
                ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 命主，太阳或月亮落在8宫或12宫
                ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 2, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],//
                ['type' => 11, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 1,12同主
                ['type' => 16, 'obj1' => 1, 'obj2' => 12, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与12主产生相位（含互溶）
                ['type' => 19, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],//
                ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0], 'res' => true],// 命主和冥王星合相
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// a上升双鱼 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 46],// b月亮双鱼 46%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 46],// c上升白羊 46%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 40],// d月亮白羊 40%
                ],
                'B' => [
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 20],// a群星白羊 20%
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 20],// b群星双鱼 20%
                ],
            ],
        ],

        [
            'id' => 27,
            'type' => 2,
            'name' => '呆萌可爱',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星，冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],//
                ['type' => 10, 'obj1' => 8, 'obj2' => 1, 'obj3' => null, 'res' => true],// 群星8宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// a上升双鱼 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 46],// b月亮双鱼 46%
                ],
                'B' => [
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 20],// a群星双鱼 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 18],// b太阳双鱼 18%
                ],
            ],
        ],
        [
            'id' => 28,
            'type' => 2,
            'name' => '古灵精怪',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星，冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],//
                ['type' => 5, 'obj1' => 0, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 太阳，命主和月亮与土星产生相位（含互溶）
                ['type' => 5, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],//
                ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],//
                ['type' => 6, 'obj1' => 0, 'obj2' => 6, 'obj3' => null, 'res' => true],//
                ['type' => 6, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],//
                ['type' => 13, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],//
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => true],
                        ['type' => 1, 'obj1' => 0, 'obj2' => [3, 9, 11], 'obj3' => null, 'res' => true],
                    ], 'res' => true
                ],// 太阳或命主在12宫且不落在双子，射手，水瓶
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],
                        ['type' => 3, 'obj1' => 1, 'obj2' => [3, 9, 11], 'obj3' => null, 'res' => true],
                    ], 'res' => true
                ],
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => 50],// a上升双子 50%
                    ['type' => 9, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星双子 50%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 46],// c太阳在5宫 46%
                    ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => 46],// d木星在5宫 46%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 46],// e命主在5宫 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => 20],// a太阳双子 20%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 20],// b月亮双子 20%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 18],// c命主水星合相 18%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => 18],// d太阳水星合相 18%
                ],
            ],
        ],
        [
            'id' => 29,
            'type' => 2,
            'name' => '落落大方',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 50],// a上升射手 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => 46],// b上升天秤 46%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 23],// a木星在1宫 23%
                    ['type' => 2, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 21],// b金星在1宫 21%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 5, 'obj3' => [0], 'res' => 21],// c太阳木星合相 21%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 3, 'obj3' => [0], 'res' => 20],// d太阳金星合相 20%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 3, 'obj3' => [0], 'res' => 20],// e命主金星合相 20%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 9, 'obj3' => null, 'res' => 20],// f命主在射手 20%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 7, 'obj3' => null, 'res' => 18],// g命主在天秤 18%
                ],
            ],
        ],
        [
            'id' => 30,
            'type' => 2,
            'name' => '成熟知性',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 50],// a上升摩羯 50%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 46],// b太阳摩羯 46%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 8, 'obj3' => null, 'res' => 40],// c上升天蝎 40%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 8, 'obj3' => null, 'res' => 40],// d太阳天蝎 40%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => 16],// a土星在1宫 16%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 6, 'obj3' => [0], 'res' => 16],// b太阳土星合相 16%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0], 'res' => 16],// c命主土星合相 16%
                ],
            ],
        ],
        [
            'id' => 31,
            'type' => 2,
            'name' => '温柔善良',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 50],// a上升巨蟹 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// b上升双鱼 50%
                    ['type' => 9, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => 46],// c群星巨蟹 46%
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 46],// d群星双鱼 46%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 43],// e月亮巨蟹 43%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 43],// f月亮双鱼 43%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => 43],// g太阳巨蟹 43%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 43],// h太阳双鱼 43%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 1, 'obj3' => [0], 'res' => 20],// a命主月亮合相 20%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 16],// b命主在巨蟹 16%
                    ['type' => 3, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 16],// c命主在双鱼 16%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 13],// d月亮在1宫 13%
                ],
            ],
        ],
        [
            'id' => 32,
            'type' => 2,
            'name' => '贤惠体贴',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 50],// a月亮巨蟹 50%
                    ['type' => 9, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星巨蟹 50%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 7, 'obj3' => null, 'res' => 46],// c月亮在7宫 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 20],// a上升巨蟹 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => 20],// b太阳巨蟹 20%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 33],// c月亮在1宫 33%
                ],
            ],
        ],
        [
            'id' => 33,
            'type' => 2,
            'name' => '传统顾家',
            'sex' => 2,
            'except' => [
                ['type' => 4, 'obj1' => 1, 'obj2' => 9, 'obj3' => null, 'res' => true],// 命主在9宫
                ['type' => 2, 'obj1' => 0, 'obj2' => 9, 'obj3' => null, 'res' => true],// 太阳在9宫
                ['type' => 2, 'obj1' => 1, 'obj2' => 9, 'obj3' => null, 'res' => true],// 月亮在9宫
//                ['type' => 3, 'obj1' => 1, 'obj2' => [9, 11], 'obj3' => null, 'res' => true],// 命主在射手座或水瓶座
//                ['type' => 1, 'obj1' => 0, 'obj2' => [9, 11], 'obj3' => null, 'res' => true],// 太阳在射手座或水瓶座
//                ['type' => 1, 'obj1' => 1, 'obj2' => [9, 11], 'obj3' => null, 'res' => true],// 月亮在射手座或水瓶座
                ['type' => 2, 'obj1' => 0, 'obj2' => [1, 9], 'obj3' => null, 'res' => true],// 天王星在1宫或9宫
                ['type' => 10, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星在1宫或9宫
                ['type' => 10, 'obj1' => 9, 'obj2' => null, 'obj3' => null, 'res' => true],
//                ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与天王星成相位
//                ['type' => 5, 'obj1' => 0, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 太阳与天王星成相位
//                ['type' => 5, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 月亮与天王星成相位
                ['type' => 2, 'obj1' => 6, 'obj2' => 4, 'obj3' => null, 'res' => true],// 土星或冥王星在4宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 4, 'obj3' => null, 'res' => true],
            ],
            'logic' => [
                'A' => [
                    [
                        'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 4, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => true],
                            ['type' => 2, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ], 'res' => 45
                    ],// a命主或太阳或月亮在4宫  50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 45],// b上升巨蟹  45%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 43],// c命主落巨蟹  43%
                    ['type' => 4, 'obj1' => 4, 'obj2' => 1, 'obj3' => null, 'res' => 43],// d4主落1宫 43%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 42],// e月亮巨蟹  42%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => 42],// f太阳巨蟹  42%
                    ['type' => 4, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 40],// g5主落1宫 40%
                    ['type' => 2, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 39],// h月亮在1宫 39%
                ],
                'B' => [
                    ['type' => 15, 'obj1' => 4, 'obj2' => 4, 'obj3' => null, 'res' => 20],// 4宫头巨蟹  20%
                ],
            ],
        ],
        [
            'id' => 34,
            'type' => 2,
            'name' => '与众不同',
            'sex' => 2,
            'except' => [
                ['type' => 3, 'obj1' => 1, 'obj2' => [6, 10], 'obj3' => null, 'res' => true],// 命主在摩羯座和处女座
                ['type' => 1, 'obj1' => 0, 'obj2' => [6, 10], 'obj3' => null, 'res' => true],// 太阳在摩羯座和处女座
                ['type' => 1, 'obj1' => 1, 'obj2' => [6, 10], 'obj3' => null, 'res' => true],// 月亮在摩羯座和处女座
                ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主或太阳或月亮与土星成相位（含互溶）
                ['type' => 5, 'obj1' => 0, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],
                ['type' => 5, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],
                ['type' => 13, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                ['type' => 6, 'obj1' => 0, 'obj2' => 6, 'obj3' => null, 'res' => true],
                ['type' => 6, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星在1宫
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 11, 'obj3' => null, 'res' => 50],// a上升水瓶 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => 50],// b月亮水瓶 50%
                    ['type' => 9, 'obj1' => 11, 'obj2' => null, 'obj3' => null, 'res' => 46],// c群星水瓶 46%
                    ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => 45],// d天王星在1宫 45%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 40],// e上升狮子 40%
                    ['type' => 9, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => 38],// f群星狮子 38%
                ],
                'B' => [
                    ['type' => 5, 'obj1' => 0, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => 20],// a太阳和天王星产生相位  20%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => 18],// b命主与天王星产生相位  18%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => 16],// c太阳水瓶 16%
                ],
            ],
        ],
        [
            'id' => 35,
            'type' => 2,
            'name' => '天真烂漫',
            'sex' => 2,
            'except' => [
                ['type' => 1, 'obj1' => 1, 'obj2' => [8, 10], 'obj3' => null, 'res' => true],// 月亮在天蝎座或摩羯座
                ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => true],// 土星或冥王星在1宫
                ['type' => 2, 'obj1' => 9, 'obj2' => 1, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 太阳落在8宫或12宫
                ['type' => 2, 'obj1' => 9, 'obj2' => [8, 12], 'obj3' => null, 'res' => true],// 月亮落在8宫或12宫
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星8宫或12宫
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],
                ['type' => 11, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 1,12同主
                ['type' => 16, 'obj1' => 1, 'obj2' => 12, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],// 命主与12主产生相位（含互溶）
                ['type' => 19, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],
                ['type' => 12, 'obj1' => 1, 'obj2' => 9, 'obj3' => [0], 'res' => true],// 命主和冥王星合相
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 12, 'obj3' => null, 'res' => 50],// a上升双鱼 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 46],// b月亮双鱼 46%
                ],
                'B' => [
                    ['type' => 9, 'obj1' => 12, 'obj2' => null, 'obj3' => null, 'res' => 18],// a群星双鱼 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 16],// b太阳双鱼 18%
                ],
            ],
        ],
        [
            'id' => 36,
            'type' => 2,
            'name' => '热情大胆',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 50],// a上升白羊 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 50],// b上升射手 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 46],// c上升狮子 46%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => 21],// a金星白羊 21%
                    ['type' => 1, 'obj1' => 3, 'obj2' => 9, 'obj3' => null, 'res' => 21],// b金星射手 21%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 20],// c月亮白羊 20%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 20],// d群星白羊 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 18],// e太阳白羊 18%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 9, 'obj3' => null, 'res' => 18],// f太阳射手 18%
                ],
            ],
        ],
        [
            'id' => 37,
            'type' => 2,
            'name' => '有主见',
            'sex' => 2,
            'except' => [
                ['type' => 2, 'obj1' => 8, 'obj2' => 1, 'obj3' => null, 'res' => true],// 海王星落1宫
                ['type' => 12, 'obj1' => 1, 'obj2' => 8, 'obj3' => [0], 'res' => true],// 命主或太阳与海王星合相
                ['type' => 5, 'obj1' => 0, 'obj2' => 9, 'obj3' => [0], 'res' => true],
                ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],// 命主或太阳落12宫
                ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => true],
                ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => true],// 上升天秤座
                ['type' => 9, 'obj1' => 7, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星天秤座
                ['type' => 1, 'obj1' => 0, 'obj2' => 7, 'obj3' => null, 'res' => true],// 太阳天秤座
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 2, 'obj3' => null, 'res' => 50],// a上升金牛 50%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 2, 'obj3' => null, 'res' => 50],// b月亮金牛 50%
                    ['type' => 9, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => 50],// c群星金牛 50%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 10, 'obj3' => null, 'res' => 46],// d上升摩羯 46%
                    ['type' => 9, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => 46],// e群星摩羯 46%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => 43],// f太阳摩羯 43%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 2, 'obj3' => null, 'res' => 43],// g太阳金牛 43%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 40],// h上升狮子 40%
                    ['type' => 9, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => 40],// i群星狮子 40%
                ],
                'B' => [
                    ['type' => 12, 'obj1' => 1, 'obj2' => 6, 'obj3' => [0], 'res' => 20],// a命主土星合相 20%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 6, 'obj3' => [0], 'res' => 20],// b太阳土星合相 20%
                    ['type' => 2, 'obj1' => 6, 'obj2' => 1, 'obj3' => null, 'res' => 20],// c土星在1宫 20%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 18],// d太阳在1宫 18%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => 18],// e命主与太阳合相 18%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 18],// f命主在1宫 18%
                ],
            ],
        ],
        [
            'id' => 38,
            'type' => 2,
            'name' => '野蛮女友',
            'sex' => 2,
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 50],// a上升狮子 50%
                    ['type' => 9, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星狮子 50%
                    ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 50],// c太阳在1宫 50%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 46],// d命主落1宫 46%
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 46],// e上升白羊 46%
                    ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 46],// f群星白羊 46%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => 43],// g命主太阳合相 43%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 4, 'obj3' => [0], 'res' => 40],// h命主火星合相 40%
                ],
                'B' => [
                    ['type' => 2, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 20],// a太阳落5宫 20%
                    ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => 20],// b木星落5宫 20%
                    ['type' => 4, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 20],// c命主落5宫 20%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 5, 'obj3' => null, 'res' => 18],// d太阳狮子 18%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => 18],// e月亮狮子 18%
                    ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 16],// f太阳白羊 16%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 16],// g月亮白羊 16%
                ],
            ],
        ],

        // 表达方式
        [
            'id' => 39,
            'type' => 3,
            'name' => '逻辑清晰',
            'sex' => 0,
            'except' => [
                ['type' => 17, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => true],// 水星落陷
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [0, 90, 180], 'res' => true],
                                ['type' => 7, 'obj1' => 2, 'obj2' => 6, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [0, 90, 180], 'res' => true],
                                ['type' => 7, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [0, 90, 180], 'res' => true],
                                ['type' => 14, 'obj1' => 12, 'obj2' => 2, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 水星与土星或火星或12主产生0度，90度，180度相位，且不接纳
                ['type' => 5, 'obj1' => 2, 'obj2' => 8, 'obj3' => [0, 90, 180], 'res' => true],// 水星与海王星产生0度，90度，180度相位
                ['type' => 18, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => true],// 3主落陷
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 3, 'obj2' => 6, 'obj3' => [0, 90, 180], 'res' => true],
                        ['type' => 12, 'obj1' => 3, 'obj2' => 4, 'obj3' => [0, 90, 180], 'res' => true],
                        ['type' => 16, 'obj1' => 3, 'obj2' => 12, 'obj3' => [0, 90, 180], 'res' => true],
                    ], 'res' => true
                ],// 3主被土星或火星或12主产生0度，90度，180度相位
            ],
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 3, 'obj3' => null, 'res' => 76],// 水星在双子 76%
                ['type' => 1, 'obj1' => 2, 'obj2' => 6, 'obj3' => null, 'res' => 75],// 水星在处女 75%
                ['type' => 1, 'obj1' => 2, 'obj2' => 8, 'obj3' => null, 'res' => 70],// 水星在天蝎 70%
                ['type' => 1, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 68],// 水星在摩羯 68%
                ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 65],// 水星在1宫 65%
                ['type' => 2, 'obj1' => 2, 'obj2' => 3, 'obj3' => null, 'res' => 50],// 水星在3宫 50%
                ['type' => 15, 'obj1' => 3, 'obj2' => 3, 'obj3' => null, 'res' => 43],// 3宫头双子 43%
                ['type' => 15, 'obj1' => 3, 'obj2' => 6, 'obj3' => null, 'res' => 32],// 3宫头处女 32%
                ['type' => 15, 'obj1' => 3, 'obj2' => 7, 'obj3' => null, 'res' => 28],// 3宫头天秤 28%
            ],
        ],
        [
            'id' => 40,
            'type' => 3,
            'name' => '慢条斯理',
            'sex' => 0,
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 2, 'obj3' => null, 'res' => 75],// 水星在金牛 75%
                ['type' => 1, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 70],// 水星在摩羯 70%
                ['type' => 2, 'obj1' => 6, 'obj2' => 3, 'obj3' => null, 'res' => 50],// 土星在3宫 50%
                ['type' => 15, 'obj1' => 3, 'obj2' => 2, 'obj3' => null, 'res' => 42],// 3宫头金牛 42%
                ['type' => 15, 'obj1' => 3, 'obj2' => 10, 'obj3' => null, 'res' => 34],// 3宫头摩羯 34%
            ],
        ],
        [
            'id' => 41,
            'type' => 3,
            'name' => '侃侃而谈',
            'sex' => 0,
            'except' => [
                ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => true],// 太阳，命主，月亮，水星在12宫
                ['type' => 2, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => true],
                ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => true],
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 75
                ],// 水星在白羊且水星没有被土星，火星，12主刑克 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 9, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 75
                ],// 水星在射手且水星没有被土星，火星，12主刑克 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 75
                ],// 水星在狮子且水星没有被土星，火星，12主刑克 75%
                ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => 73],// 水星与太阳合相  73%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 70
                ],// 木星在3宫且水星没有被土星，火星，12主刑克 70%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 7, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 66
                ],// 水星在天秤且水星没有被土星，火星，12主刑克 66%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 60
                ],// 太阳在3宫且水星没有被土星，火星，12主刑克 60%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 15, 'obj1' => 3, 'obj2' => 9, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 51
                ],// 3宫头射手且水星没有被土星，火星，12主刑克51%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 15, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 43
                ],// 3宫头狮子且水星没有被土星，火星，12主刑克 43%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 4, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 32
                ],// 火星在3宫且水星没有被土星，火星，12主刑克 32%
            ],
        ],
        [
            'id' => 42,
            'type' => 3,
            'name' => '一针见血',
            'sex' => 0,
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 8, 'obj3' => null, 'res' => 75],// 水星在天蝎 75%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [90], 'res' => 70],// 水星冥王星刑克 70%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [0], 'res' => 70],// 水星冥王星合相 70%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [180], 'res' => 60],// 水星冥王星对冲 60%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [120], 'res' => 48],// 水星冥王星三合 48%
                ['type' => 2, 'obj1' => 4, 'obj2' => 3, 'obj3' => null, 'res' => 36],// 火星在3宫 36%
                ['type' => 15, 'obj1' => 3, 'obj2' => 8, 'obj3' => null, 'res' => 20],// 3宫头天蝎 20%
            ],
        ],
        [
            'id' => 43,
            'type' => 3,
            'name' => '风趣幽默',
            'sex' => 0,
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => true],
                        ['type' => 1, 'obj1' => 0, 'obj2' => [2, 8, 10], 'obj3' => null, 'res' => false],
                        ['type' => 1, 'obj1' => 2, 'obj2' => [2, 8, 10], 'obj3' => null, 'res' => false],
                    ], 'res' => 75
                ],// 太阳和水星合相且太阳和水星不在天蝎座，摩羯座，金牛座   75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 9, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 75
                ],// 水星在射手座且水星没有被土星，火星，12主刑克 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 75
                ],// 水星在双子座且水星没有被土星，火星，12主刑克 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => 7, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 12, 'obj1' => 12, 'obj2' => 2, 'obj3' => [90], 'res' => false],
                    ], 'res' => 65
                ],// 水星在天秤座且水星没有被土星，火星，12主刑克 65%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 2, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 1, 'obj1' => 2, 'obj2' => [5, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 60
                ],// 水星在3宫且水星不落在狮子座，双鱼座  60%
                ['type' => 2, 'obj1' => 3, 'obj2' => 3, 'obj3' => null, 'res' => 56],// 金星在3宫 56%
                ['type' => 2, 'obj1' => 5, 'obj2' => 3, 'obj3' => null, 'res' => 54],// 木星在3宫 54%
                ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 45],// 木星在1宫 45%
                ['type' => 5, 'obj1' => 2, 'obj2' => 7, 'obj3' => [0], 'res' => 45],// 水星和天王星合相  45%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => ASC, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => ASC, 'obj2' => 0, 'obj3' => [90], 'res' => false],
                    ], 'res' => 44
                ],// 上升双子且Asc没有跟土星和太阳刑克  44%
            ],
        ],
        [
            'id' => 44,
            'type' => 3,
            'name' => '沉默寡言',
            'sex' => 0,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 8, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => true
                ],// 水星庙旺且水星不在12宫
                ['type' => 5, 'obj1' => 2, 'obj2' => 0, 'obj3' => [0], 'res' => true],// 水星与太阳合相
                ['type' => 5, 'obj1' => 2, 'obj2' => 5, 'obj3' => [0], 'res' => true],// 水星与木星合相
                ['type' => 2, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => true],// 水星在1宫
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => true],
                        ['type' => 2, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => true
                ],// 命主与水星合相且水星不在12宫
            ],
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 75],// 水星在摩羯座 75%
                ['type' => 2, 'obj1' => 6, 'obj2' => 3, 'obj3' => null, 'res' => 65],// 土星在3宫 65%
                ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [0], 'res' => 60],// 水星土星合相 60%
                ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => 52],// 水星土星刑克 52%
                ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [180], 'res' => 44],// 水星土星对冲 44%
                ['type' => 1, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => 36],// 水星在巨蟹座 36%
                ['type' => 1, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => 28],// 水星在双鱼座 28%
                ['type' => 2, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => 23],// 水星在12宫 23%
            ],
        ],
        [
            'id' => 45,
            'type' => 3,
            'name' => '柔声细语',
            'sex' => 0,
            'except' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => [1, 5, 9], 'obj3' => null, 'res' => true],// 水星在射手座，白羊座，狮子座
                ['type' => 2, 'obj1' => 4, 'obj2' => 3, 'obj3' => null, 'res' => true],// 火星在3宫
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [0, 60, 90, 120, 180], 'res' => true],
                        ['type' => 6, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => true],
                    ], 'res' => true
                ],// 水星和火星产生相位（含互溶）
            ],
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 12, 'obj3' => null, 'res' => 75],// 水星在双鱼座 75%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [0], 'res' => 70],// 水星海王星合相 70%
                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [120], 'res' => 62],// 水星海王星三合 62%
                ['type' => 1, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => 43],// 水星在巨蟹座 43%
                ['type' => 5, 'obj1' => 2, 'obj2' => 3, 'obj3' => [0], 'res' => 38],// 金星水星合相 38%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 1, 'obj2' => [1, 10], 'obj3' => null, 'res' => true],
                        ['type' => 17, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 30
                ],// 月亮在1宫或10宫（月亮不落陷） 30%
            ],
        ],
        [
            'id' => 46,
            'type' => 3,
            'name' => '脑洞大开',
            'sex' => 0,
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 11, 'obj3' => null, 'res' => 75],// 水星在水瓶座 75%
                ['type' => 5, 'obj1' => 2, 'obj2' => 7, 'obj3' => [0], 'res' => 70],// 水星天王星合相 70%
                ['type' => 5, 'obj1' => 2, 'obj2' => 7, 'obj3' => [180], 'res' => 60],// 水星天王星对冲 60%
                ['type' => 5, 'obj1' => 2, 'obj2' => 7, 'obj3' => [120], 'res' => 50],// 水星天王星三合 50%
            ],
        ],
        [
            'id' => 47,
            'type' => 3,
            'name' => '直来直去',
            'sex' => 0,
            'except' => [
                ['type' => 10, 'obj1' => 8, 'obj2' => null, 'obj3' => null, 'res' => true],// 群星在8宫
                ['type' => 1, 'obj1' => 2, 'obj2' => [4, 12], 'obj3' => null, 'res' => true],// 水星在天蝎，双鱼
                ['type' => 2, 'obj1' => 2, 'obj2' => 8, 'obj3' => null, 'res' => true],// 水星在8宫
                ['type' => 1, 'obj1' => ASC, 'obj2' => [4, 8, 12], 'obj3' => null, 'res' => true],// 上升在天蝎，巨蟹，双鱼
                ['type' => 2, 'obj1' => 9, 'obj2' => [1, 3], 'obj3' => null, 'res' => true],// 冥王在1宫或3宫
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 8, 'obj3' => [90], 'res' => true],
                        ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                    ], 'res' => true
                ],// 水星与土星、冥王星、海王星刑克
            ],
            'logic' => [
                ['type' => 1, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 75],// 水星在白羊座  75%
                ['type' => 1, 'obj1' => 2, 'obj2' => 6, 'obj3' => null, 'res' => 73],// 水星在处女座  73%
                ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [0, 60, 90, 120, 180], 'res' => 72],// 水星火星成相位  72%
                ['type' => 1, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 70],// 水星在摩羯座  70%
                ['type' => 1, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => 68],// 太阳在白羊座  68%
                ['type' => 1, 'obj1' => 1, 'obj2' => 1, 'obj3' => null, 'res' => 68],// 月亮在白羊座  68%
                ['type' => 9, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => 65],// 群星在白羊座  65%
                ['type' => 9, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => 42],// 群星在处女座  42%
                ['type' => 1, 'obj1' => 0, 'obj2' => 6, 'obj3' => null, 'res' => 42],// 太阳在处女座  42%
            ],
        ],

        // 事业特征
        [
            'id' => 48,
            'type' => 4,
            'name' => '斜杠青年',
            'sex' => 0,
            'logic' => [
                ['type' => 15, 'obj1' => 10, 'obj2' => 3, 'obj3' => null, 'res' => 76],// 10宫头在双子 75%
                ['type' => 2, 'obj1' => 5, 'obj2' => 10, 'obj3' => null, 'res' => 72],// 木星在10宫 72%
                ['type' => 15, 'obj1' => 10, 'obj2' => 9, 'obj3' => null, 'res' => 69],// 10宫头在射手 69%
                ['type' => 15, 'obj1' => 10, 'obj2' => 12, 'obj3' => null, 'res' => 68],// 10宫头在双鱼 68%
                ['type' => 15, 'obj1' => 10, 'obj2' => 6, 'obj3' => null, 'res' => 67],// 10宫头在处女 67%
                ['type' => 2, 'obj1' => 5, 'obj2' => 6, 'obj3' => null, 'res' => 59],// 木星在6宫 59%
                ['type' => 15, 'obj1' => 6, 'obj2' => 3, 'obj3' => null, 'res' => 53],// 6宫头在双子 53%
                ['type' => 15, 'obj1' => 6, 'obj2' => 9, 'obj3' => null, 'res' => 56],// 6宫头在射手56%
                ['type' => 15, 'obj1' => 6, 'obj2' => 12, 'obj3' => null, 'res' => 42],// 6宫头在双鱼 42%
                ['type' => 15, 'obj1' => 6, 'obj2' => 6, 'obj3' => null, 'res' => 36],// 6宫头在处女 36%
                ['type' => 4, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => 29],// 10宫主在11宫 29%
            ],
        ],
        [
            'id' => 49,
            'type' => 4,
            'name' => '行业大佬',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 10, 'obj2' => 6, 'obj3' => null, 'res' => 75],// 10宫主在6宫 75%
                ['type' => 4, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 70],// 命主在6宫 70%
                ['type' => 2, 'obj1' => 0, 'obj2' => 6, 'obj3' => null, 'res' => 67],// 太阳在6宫 67%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                    ], 'res' => 65
                ],// 命主与6宫主互溶接纳 65%
                ['type' => 11, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 62],// 1宫主和6宫主为同一颗星 62%
                ['type' => 4, 'obj1' => 10, 'obj2' => 3, 'obj3' => null, 'res' => 51],// 10宫主在3宫 51%
                ['type' => 4, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 48],// 命主在3宫 48%
                ['type' => 2, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => 36],// 太阳在3宫 36%
            ],
        ],
        [
            'id' => 50,
            'type' => 4,
            'name' => '霸道总裁',
            'sex' => 0,
            'logic' => [
                [
                    'type' => 55, 'obj1' => 0, 'obj2' => 10, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 10, 'obj3' => null, 'res' => true],
                        ['type' => 17, 'obj1' => 0, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 75
                ],// 太阳在10宫（且太阳不落陷） 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 1, 'obj2' => 0, 'obj3' => [0], 'res' => true],
                        ['type' => 17, 'obj1' => 0, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 68
                ],// 命主太阳合相（且太阳不落陷） 68%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 10, 'obj2' => 0, 'obj3' => [0], 'res' => true],
                        ['type' => 17, 'obj1' => 0, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ['type' => 18, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 63
                ],// 太阳10主合相（且太阳和10宫主不落陷） 63%
                [
                    'type' => 16, 'obj1' => 1, 'obj2' => 10, 'obj3' =>
                    [
                        ['type' => 16, 'obj1' => 1, 'obj2' => 10, 'obj3' => [0], 'res' => true],
                        ['type' => 18, 'obj1' => 10, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 61
                ],// 命主10主合相（且10宫主不落陷） 61%
                [
                    'type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 1, 'obj3' => null, 'res' => true],
                        ['type' => 17, 'obj1' => 0, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 60
                ],// 太阳在1宫（且太阳不落陷） 60%
                ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => 53],// 上升狮子 53%
                ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => 39],// 上升白羊 39%
                ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => 34],// 上升射手 34%
            ],
        ],
        [
            'id' => 51,
            'type' => 4,
            'name' => '善用人际',
            'sex' => 0,
            'logic' => [
                ['type' => 2, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => 75],// 太阳在11宫 75%
                ['type' => 4, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => 75],// 10主在11宫 75%
                ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => 63],// 命主在11宫 63%
                ['type' => 4, 'obj1' => 11, 'obj2' => [1, 4, 7, 10], 'obj3' => null, 'res' => 60],// 11宫主在角宫（1,4,7,10宫） 60%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 19, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => true],
                                ['type' => 20, 'obj1' => 11, 'obj2' => 10, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        ['type' => 11, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => false],
                    ], 'res' => 56
                ],// 10宫主与11宫主接纳或互溶（10.11不同主） 56%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 11, 'obj2' => 10, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => true],
                    ], 'res' => 55
                ],// 命主与11宫主接纳或互溶  55%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 51
                ],// 上升天秤且命主与太阳不在12宫 51%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 40
                ],// 上升双子且命主与太阳不在12宫 40%
            ],
        ],
        [
            'id' => 52,
            'type' => 4,
            'name' => '上进心强',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => 70],// 命主在6宫 70%
                ['type' => 4, 'obj1' => 10, 'obj2' => 1, 'obj3' => null, 'res' => 70],// 10宫主在1宫 70%
                ['type' => 4, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => 60],// 命主在10宫 60%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' => [
                    ['type' => 19, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => true],
                    ['type' => 20, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => true],
                    ['type' => 20, 'obj1' => 10, 'obj2' => 1, 'obj3' => null, 'res' => true],
                ], 'res' => 54
                ],// 命主和10宫主互溶或者接纳 54%
                ['type' => 16, 'obj1' => 1, 'obj2' => 10, 'obj3' => [0], 'res' => 40],// 命主合10宫主 40%
                ['type' => 12, 'obj1' => 10, 'obj2' => 0, 'obj3' => [0], 'res' => 40],// 太阳合10宫主 39%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 1, 'obj2' => 6, 'obj3' => null, 'res' => true],
                    ], 'res' => 40
                ],// 命主与6宫主互溶接纳 35%
            ],
        ],

        // 财富来源
        [
            'id' => 53,
            'type' => 5,
            'name' => '勤劳致富',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 2, 'obj2' => 3, 'obj3' => null, 'res' => 75],// 2主在3宫 75%
                ['type' => 4, 'obj1' => 2, 'obj2' => 6, 'obj3' => null, 'res' => 72],// 2主在6宫 72%
                ['type' => 4, 'obj1' => 3, 'obj2' => 2, 'obj3' => null, 'res' => 61],// 3主在2宫 61%
                ['type' => 4, 'obj1' => 6, 'obj2' => 2, 'obj3' => null, 'res' => 60],// 6主在2宫 60%
                ['type' => 15, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 53],// 2宫头在白羊座 53%
                ['type' => 15, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 40],// 2宫头在摩羯座 40%
                ['type' => 15, 'obj1' => 2, 'obj2' => 2, 'obj3' => null, 'res' => 36],// 2宫头在金牛座 36%
                ['type' => 15, 'obj1' => 2, 'obj2' => 6, 'obj3' => null, 'res' => 30],// 2宫头在处女座 30%
            ],
        ],
        [
            'id' => 54,
            'type' => 5,
            'name' => '善于投资',
            'sex' => 0,
            'except' => [
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 17, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => true],
                                ['type' => 2, 'obj1' => 4, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 17, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => true],
                                ['type' => 2, 'obj1' => 6, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 有落陷土星或火星落入5，8宫
                ['type' => 2, 'obj1' => 9, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],// 冥王星落入5，8宫
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 5, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 5, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 5, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                    ], 'res' => true
                ],// 5宫主或8宫主被土星，火星或冥王星刑克
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 2, 'obj3' => null, 'res' => true],
                    ], 'res' => 75
                ],// 盘中1宫主和8宫主同为一颗星且命主在2宫 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                    ], 'res' => 74
                ],// 盘中1宫主和8宫主同为一颗星且命主在8宫 74%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 72
                ],// 盘中1宫主和8宫主同为一颗星且命主在5宫 72%
                ['type' => 4, 'obj1' => 2, 'obj2' => 8, 'obj3' => null, 'res' => 69],// 2主在8宫 69%
                ['type' => 4, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => 67],// 2主在5宫 67%
                ['type' => 4, 'obj1' => 5, 'obj2' => 2, 'obj3' => null, 'res' => 65],// 5主在2宫 65%
                ['type' => 4, 'obj1' => 5, 'obj2' => 8, 'obj3' => null, 'res' => 65],// 5主在8宫 60%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 5, 'obj2' => 4, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 5, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                        ['type' => 5, 'obj1' => 5, 'obj2' => 9, 'obj3' => [90], 'res' => false],
                    ], 'res' => 60
                ],// 木星在8宫且没有被凶星刑克 60%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 2, 'obj3' => null, 'res' => true],
                    ], 'res' => 60
                ],// 盘中1宫主和8宫主不为同一颗星且命主在2宫 60%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                    ], 'res' => 57
                ],// 盘中1宫主和8宫主不为同一颗星且命主在8宫 57%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 55
                ],// 盘中1宫主和8宫主不为同一颗星且命主在5宫 55%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 8, 'obj2' => 2, 'obj3' => null, 'res' => true],
                    ], 'res' => 51
                ],// 盘中1宫主和8宫主不为同一颗星且8主在2宫 51%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 8, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 48
                ],// 盘中1宫主和8宫主不为同一颗星且8主在5宫 48%
                ['type' => 4, 'obj1' => 8, 'obj2' => 10, 'obj3' => null, 'res' => 45],// 8主在10宫 45%
                ['type' => 4, 'obj1' => 2, 'obj2' => 10, 'obj3' => null, 'res' => 45],// 2主在10宫 45%
            ],
        ],
        [
            'id' => 55,
            'type' => 5,
            'name' => '人脉致富',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 2, 'obj2' => 11, 'obj3' => null, 'res' => 75],// 2主在11宫 75%
                ['type' => 4, 'obj1' => 11, 'obj2' => 2, 'obj3' => null, 'res' => 75],// 11主在2宫 75%
                ['type' => 4, 'obj1' => 7, 'obj2' => 2, 'obj3' => null, 'res' => 70],// 7主在2宫 70%
                ['type' => 4, 'obj1' => 2, 'obj2' => 7, 'obj3' => null, 'res' => 67],// 2主在7宫 67%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 11, 'obj1' => 2, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 18, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 2, 'obj2' => [2, 10, 11], 'obj3' => null, 'res' => true],
                    ], 'res' => 65
                ],// 2,11同主且2主（11主）不落陷且落在2,10,11宫  65%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 2, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 2, 'obj2' => 11, 'obj3' => null, 'res' => true],
                    ], 'res' => 65
                ],// 2主与11主互溶或接纳（三分以下不算）65%
                ['type' => 2, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => 64],// 太阳在11宫 64%
                ['type' => 4, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => 60],// 10主在11宫 60%
                ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => 35],// 命主在11宫 35%
                ['type' => 4, 'obj1' => 11, 'obj2' => 10, 'obj3' => null, 'res' => 30],// 11主在10宫 30%
            ],
        ],
        [
            'id' => 56,
            'type' => 5,
            'name' => '家境殷实',
            'sex' => 0,
            'except' => [
                ['type' => 18, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => true],// 4主落陷
                ['type' => 2, 'obj1' => 6, 'obj2' => 4, 'obj3' => null, 'res' => true],// 土星在4宫
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 12, 'obj1' => 4, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                                ['type' => 14, 'obj1' => 4, 'obj2' => 4, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 12, 'obj1' => 4, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                                ['type' => 14, 'obj1' => 4, 'obj2' => 6, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 4主刑克土星或火星（没有接纳）
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 16, 'obj1' => 4, 'obj2' => 8, 'obj3' => [90, 180], 'res' => true],
                                ['type' => 20, 'obj1' => 4, 'obj2' => 8, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 16, 'obj1' => 4, 'obj2' => 12, 'obj3' => [90, 180], 'res' => true],
                                ['type' => 20, 'obj1' => 4, 'obj2' => 12, 'obj3' => null, 'res' => false],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 4主（刑克或对冲）（8主或12主）（没有接纳）
            ],
            'logic' => [
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => true],
                    ], 'res' => 75
                ],// 2主与4主接纳或互溶（三分以下不考虑）  75%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => true],
                    ], 'res' => 73
                ],// 命主与4主接纳或互溶（三分以下不考虑） 73%
                ['type' => 4, 'obj1' => 4, 'obj2' => 2, 'obj3' => null, 'res' => 70],// 4主落2宫  70%
                ['type' => 4, 'obj1' => 2, 'obj2' => 4, 'obj3' => null, 'res' => 70],// 2主落4宫  70%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ['type' => 1, 'obj1' => 5, 'obj2' => [3, 6, 10], 'obj3' => null, 'res' => false],
                    ], 'res' => 65
                ],// 木星（不在处女座，摩羯座，双子座）落4宫  65%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 19, 'obj1' => 4, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 20, 'obj1' => 4, 'obj2' => 11, 'obj3' => null, 'res' => true],
                    ], 'res' => 63
                ],// 4主与11主接纳或互溶 （三分以下不考虑）63%
                ['type' => 4, 'obj1' => 4, 'obj2' => 7, 'obj3' => null, 'res' => 58],// 4主落7宫  58%
                ['type' => 4, 'obj1' => 4, 'obj2' => 10, 'obj3' => null, 'res' => 50],// 4主落10宫  55%
            ],
        ],
        [
            'id' => 57,
            'type' => 5,
            'name' => '中奖体质',
            'sex' => 0,
            'except' => [
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 17, 'obj1' => 4, 'obj2' => null, 'obj3' => null, 'res' => true],
                                ['type' => 2, 'obj1' => 4, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        [
                            'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 17, 'obj1' => 6, 'obj2' => null, 'obj3' => null, 'res' => true],
                                ['type' => 2, 'obj1' => 6, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 有落陷土星或火星落入5，8宫
                ['type' => 2, 'obj1' => 9, 'obj2' => [5, 8], 'obj3' => null, 'res' => true],// 冥王星落入5，8宫
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 5, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 5, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 5, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 8, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                    ], 'res' => true
                ],// 5宫主或8宫主被土星，火星或冥王星刑克
                ['type' => 5, 'obj1' => 5, 'obj2' => 4, 'obj3' => [90], 'res' => true],// 木星被土星或火星或冥王星刑克
                ['type' => 5, 'obj1' => 5, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                ['type' => 5, 'obj1' => 5, 'obj2' => 9, 'obj3' => [90], 'res' => true],
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 8, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => true],
                    ], 'res' => 70
                ],// 木星庙旺在5宫 70%
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 13, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 14, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 13, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 14, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 13, 'obj1' => 8, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 14, 'obj1' => 8, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 65
                ],// 木星与（2主或5主或8主）产生接纳或互溶 65%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 18, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ['type' => 18, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => false],
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 19, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => true],
                                ['type' => 20, 'obj1' => 2, 'obj2' => 5, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                    ], 'res' => 50
                ],// 2主与5主互溶或接纳（2主和5主均不落陷）  50%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 8, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ['type' => 17, 'obj1' => 5, 'obj2' => null, 'obj3' => null, 'res' => false],
                    ], 'res' => 40
                ],// 木星（不庙旺不落陷）在5宫  40%
                ['type' => 2, 'obj1' => 5, 'obj2' => 8, 'obj3' => null, 'res' => 30],// 木星落8宫 30%
                ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => 20],// 木星落1宫 20%
            ],
        ],

        // 感情经历
        [
            'id' => 58,
            'type' => 6,
            'name' => '最强王者',
            'sex' => 0,
            'except' => [
                ['type' => 1, 'obj1' => 3, 'obj2' => [4, 6], 'obj3' => null, 'res' => true],// 金星落在处女座，巨蟹座
                ['type' => 5, 'obj1' => 3, 'obj2' => 6, 'obj3' => [90], 'res' => true],// 金星与土星刑克
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0], 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 75
                ],// 金星木星合相（且7宫内没有土星、冥王星） 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [90], 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 73
                ],// 金星木星刑克（且7宫内没有土星、冥王星） 73%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [120], 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 7, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 69
                ],// 金星木星三合且接纳（且7宫内没有土星、冥王星） 69%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [60], 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 7, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => true],
                    ], 'res' => 64
                ],// 金星木星六合且接纳（且7宫内没有土星、冥王星） 64%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 7, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 65
                ],// 月亮金星接纳 65%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 40
                ],// 金星在5宫（且7宫内没有土星、冥王星） 40%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 30
                ],// 月亮在5宫（且7宫内没有土星、冥王星） 30%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 9, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 25
                ],// 木星在5宫 （且7宫内没有土星、冥王星）25%
            ],
        ],
        [
            'id' => 59,
            'type' => 6,
            'name' => '倔强青铜',
            'sex' => 0,
            'except' => [
                ['type' => 1, 'obj1' => 3, 'obj2' => [2, 7, 12], 'obj3' => null, 'res' => true],// 金星在金牛座，天秤座，双鱼座
                ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [90], 'res' => true],// 金星木星刑克
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 70
                ],// 土星在7宫且金星木星没有相位（且不互溶） 70%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 6, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 61
                ],// 土星在5宫且金星木星没有相位（且不互溶） 61%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 7, 'obj2' => 12, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 53
                ],// 7主在12宫且金星木星没有相位（且不互溶） 53%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 7, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 47
                ],// 7主在8宫且金星木星没有相位（且不互溶） 47%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 5, 'obj2' => 12, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 45
                ],// 5主在12宫且金星木星没有相位（且不互溶） 45%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => [6, 8], 'obj3' => null, 'res' => true],
                        ['type' => 21, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => true],
                    ], 'res' => 30
                ],// 金星空相且金星落天蝎座或处女座 42%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 5, 'obj2' => 6, 'obj3' => null, 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 41
                ],// 5主在8宫且金星木星没有相位（且不互溶） 41%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                        ['type' => 6, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 30
                ],// 金星土星刑克且金星木星没有相位（且不互溶） 30%
            ],
        ],

        // 人际交往
        [
            'id' => 60,
            'type' => 7,
            'name' => '宅',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 70],// 命主在4宫 70%
                ['type' => 2, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => 60],// 太阳在4宫 60%
                ['type' => 2, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => 53],// 月亮在4宫 53%
                ['type' => 1, 'obj1' => ASC, 'obj2' => 4, 'obj3' => null, 'res' => 42],// 上升巨蟹 42%
            ],
        ],
        [
            'id' => 61,
            'type' => 7,
            'name' => '高情商',
            'sex' => 0,
            'except' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 2, 'obj2' => [9, 12], 'obj3' => null, 'res' => true],
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 5, 'obj1' => 2, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                                ['type' => 5, 'obj1' => 2, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                                ['type' => 5, 'obj1' => 2, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                            ], 'res' => true
                        ],
                    ], 'res' => true
                ],// 水星在射手座，双鱼座且被土星，火星和冥王星刑克
                [
                    'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 3, 'obj2' => 4, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 3, 'obj2' => 6, 'obj3' => [90], 'res' => true],
                        ['type' => 12, 'obj1' => 3, 'obj2' => 9, 'obj3' => [90], 'res' => true],
                    ], 'res' => true
                ],// 3宫主被土星，火星和冥王星刑克
            ],
            'logic' => [
                'A' => [
                    ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => 50],// a上升双子 50%
                    ['type' => 9, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => 50],// b群星双子 50%
                    ['type' => 5, 'obj1' => 0, 'obj2' => 2, 'obj3' => [0], 'res' => 50],// c太阳水星合相 46%
                    ['type' => 12, 'obj1' => 1, 'obj2' => 2, 'obj3' => [0], 'res' => 50],// d命主水星合相 46%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 2, 'obj1' => 2, 'obj2' => [1, 7, 10], 'obj3' => null, 'res' => true],
                            ['type' => 17, 'obj1' => 2, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ], 'res' => 45
                    ],// e水星在1宫或7宫或10宫（水星不落陷） 45%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 6, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => true],
                            ['type' => 7, 'obj1' => 3, 'obj2' => 1, 'obj3' => null, 'res' => true],
                            ['type' => 17, 'obj1' => 1, 'obj2' => null, 'obj3' => null, 'res' => false],
                            ['type' => 17, 'obj1' => 3, 'obj2' => null, 'obj3' => null, 'res' => false],
                        ], 'res' => 40
                    ],// f金星与月亮接纳或互溶（三分及以下不算）（且金星月亮均不落陷）40%
                ],
                'B' => [
                    ['type' => 1, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => 20],// a太阳双子 20%
                    ['type' => 1, 'obj1' => 1, 'obj2' => 3, 'obj3' => null, 'res' => 20],// b月亮双子 20%
                    [
                        'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                        [
                            ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => true],
                            ['type' => 1, 'obj1' => 3, 'obj2' => [1, 6, 8], 'obj3' => null, 'res' => false],
                        ], 'res' => 40
                    ],// 上升天秤且金星不落处女座，白羊座，天蝎座  40%
                ],


                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 8, 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 70
                ],// 命主在11宫（且太阳不在8,12宫） 70%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 19, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                                ['type' => 20, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                                ['type' => 13, 'obj1' => 11, 'obj2' => 0, 'obj3' => null, 'res' => true],
                                ['type' => 14, 'obj1' => 11, 'obj2' => 0, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        ['type' => 11, 'obj1' => 11, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 65
                ],// 命主或太阳与11宫主有互溶或接纳 （且11,12不同主）65%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 1, 'obj1' => ASC, 'obj2' => 3, 'obj3' => null, 'res' => true],
                                ['type' => 1, 'obj1' => 0, 'obj2' => 3, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 58
                ],// （上升或太阳落双子）且（命主和太阳不在8,12宫）58%
                [
                    'type' => 55, 'obj1' => ASC, 'obj2' => 7, 'obj3' =>
                    [
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 1, 'obj1' => ASC, 'obj2' => 7, 'obj3' => null, 'res' => true],
                                ['type' => 1, 'obj1' => 0, 'obj2' => 7, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 52
                ],// （上升或太阳落天秤）且（命主和太阳不在8,12宫） 52%
                [
                    'type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 2, 'obj2' => 1, 'obj3' => null, 'res' => 35],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 35
                ],// 水星在1宫（且命主和太阳不在8,12宫） 35%
            ],
        ],
        [
            'id' => 62,
            'type' => 7,
            'name' => '享受孤独',
            'sex' => 0,
            'logic' => [
                ['type' => 4, 'obj1' => 1, 'obj2' => 12, 'obj3' => null, 'res' => 70],// 命主在12宫 70%
                ['type' => 2, 'obj1' => 0, 'obj2' => 12, 'obj3' => null, 'res' => 68],// 太阳在12宫 68%
                ['type' => 4, 'obj1' => 12, 'obj2' => 1, 'obj3' => null, 'res' => 67],// 12宫主在1宫 67%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => false],
                    ], 'res' => 63
                ],// 命主在8宫（且太阳不在11宫） 63%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => false],
                    ], 'res' => 59
                ],// 命主在4宫（且太阳不在11宫） 59%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 8, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => false],
                    ], 'res' => 46
                ],// 太阳在8宫（且命主不在11宫） 46%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 4, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => false],
                    ], 'res' => 34
                ],// 太阳在4宫（且命主不在11宫） 34%
                ['type' => 16, 'obj1' => 1, 'obj2' => 11, 'obj3' => [90], 'res' => 40],// 命主与11主刑克 40%
                ['type' => 12, 'obj1' => 11, 'obj2' => 0, 'obj3' => [90], 'res' => 43],// 太阳与11主刑克 43%
            ],
        ],
        [
            'id' => 63,
            'type' => 7,
            'name' => '社交牛x症',
            'sex' => 0,
            'except' => [
                ['type' => 2, 'obj1' => 6, 'obj2' => 11, 'obj3' => null, 'res' => true],
                ['type' => 2, 'obj1' => 9, 'obj2' => 11, 'obj3' => null, 'res' => true],
                ['type' => 12, 'obj1' => 11, 'obj2' => 6, 'obj3' => [90], 'res' => true],
            ],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 75
                ],// 命主在11宫（且太阳不在8宫，12宫） 75%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 0, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 72
                ],// 太阳在11宫（且命主不在8宫，12宫） 72%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 69
                ],// 月亮在11宫 （且命主和太阳不在8宫，12宫）69%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 11, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 64
                ],// 木星在11宫 （且命主和太阳不在8宫，12宫）64%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 16, 'obj1' => 1, 'obj2' => 11, 'obj3' => [0], 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 67
                ],// 命主合11宫主 （且命主和太阳不在8宫，12宫）67%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 12, 'obj1' => 11, 'obj2' => 0, 'obj3' => [0], 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 50
                ],// 太阳合11宫主（且命主和太阳不在8宫，12宫） 50%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        [
                            'type' => 56, 'obj1' => null, 'obj2' => null, 'obj3' =>
                            [
                                ['type' => 19, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                                ['type' => 20, 'obj1' => 1, 'obj2' => 11, 'obj3' => null, 'res' => true],
                                ['type' => 13, 'obj1' => 11, 'obj2' => 0, 'obj3' => null, 'res' => true],
                                ['type' => 14, 'obj1' => 11, 'obj2' => 0, 'obj3' => null, 'res' => true],
                            ], 'res' => true
                        ],
                        ['type' => 11, 'obj1' => 11, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 46
                ],// 命主或太阳与11宫主有互溶或接纳 （且11,12不同主）46%
                ['type' => 4, 'obj1' => 10, 'obj2' => 11, 'obj3' => null, 'res' => 62],// 10宫主在11宫 62%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 1, 'obj2' => 10, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 56
                ],// 命主在10宫（且太阳不在8宫，12宫） 56%
                [
                    'type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 1, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 54
                ],// 木星在1宫 （且命主和太阳不在8宫，12宫）54%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 5, 'obj3' => null, 'res' => true],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 52
                ],// 上升狮子 （且太阳不在8宫，12宫）52%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 1, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 36
                ],// 上升白羊 （且命主和太阳不在8宫，12宫）36%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => ASC, 'obj2' => 9, 'obj3' => null, 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 36
                ],// 上升射手（且命主和太阳不在8宫，12宫） 30%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 0, 'obj2' => 1, 'obj3' => [0], 'res' => true],
                        ['type' => 4, 'obj1' => 1, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                        ['type' => 2, 'obj1' => 0, 'obj2' => [8, 12], 'obj3' => null, 'res' => false],
                    ], 'res' => 36
                ],// 日月合相 （且命主和太阳不在8宫，12宫）37%
            ],
        ],

        [
            'id' => 64,
            'type' => 6,
            'name' => '荣耀黄金',
            'sex' => 0,
            'except' => [],
            'logic' => [
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 5, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                    ], 'res' => 5
                ],// 金星木星无相位 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 7, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星月亮无接纳 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 3, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星不在5宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 3, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星不在7宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 3, 'obj2' => 8, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星不在8宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 1, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 月亮不在5宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 1, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 月亮不在7宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 木星不在5宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 5, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 木星不在7宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 6, 'obj2' => 5, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 土星不在5宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 2, 'obj1' => 6, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 土星不在7宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 7, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 7主不在12宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 5, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 5主不在12宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 4, 'obj1' => 5, 'obj2' => 8, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 5主不在8宫 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                    ], 'res' => 5
                ],// 金星土星无刑克 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 1, 'obj2' => 6, 'obj3' => [90], 'res' => false],
                    ], 'res' => 5
                ],// 月亮土星无刑克 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => 7, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星不在天秤 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 1, 'obj1' => 3, 'obj2' => 12, 'obj3' => null, 'res' => false],
                    ], 'res' => 5
                ],// 金星不在双鱼 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 8, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                    ], 'res' => 5
                ],// 金海无相位 5%
                [
                    'type' => 55, 'obj1' => null, 'obj2' => null, 'obj3' =>
                    [
                        ['type' => 5, 'obj1' => 3, 'obj2' => 9, 'obj3' => [0, 60, 90, 120, 180], 'res' => false],
                    ], 'res' => 5
                ],// 金冥无相位 5%
            ],
        ],
    ];

    /**
     * 理想型
     * @var array
     */
    protected $idealTypeIdList = [

    ];

    /**
     * 本命星盘配置
     * @var array
     */
    protected $setting = [
        'natal' => [
            'planet' => [
                [1, 7.5], [1, 6], [1, 3.5], [1, 4], [1, 4], [1, 4.5], [1, 4.5], [1, 2.5], [1, 2.5], [1, 2.5],
                [0, 0], [0, 0], [0, 0], [0, 0], [1, 2.5], [0, 0], [0, 0], [1, 2.5], [1, 2.5], [1, 2.5], [1, 2.5]
            ],
            'phase' => [
                0 => [1, 0], 60 => [1, 0], 90 => [1, 0], 120 => [1, 0], 180 => [1, 0],
                45 => [0, 0], 135 => [0, 0], 30 => [0, 0], 150 => [0, 0], 72 => [0, 0], 144 => [0, 0]
            ],
            'arabic' => [
                [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0],
                [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0],
                [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]
            ],
            'h_sys' => 'p',
            'firdaria' => 'default',
            'bound_type' => 'default',
            'ecliptic' => 0,
            'profection_push_direction' => 0,
            'decanates' => 0,
            'ayanamsa' => 0,
            'location_use' => 0
        ],
    ];

    /**
     * 构造方法
     * 单例模式，私有化
     * 只能通过 getInstance 公共方法获取实例
     * IdealLover constructor.
     */
    private function __construct()
    {
    }

    /**
     * 获取实例
     * @return IdealLover
     */
    public static function getInstance(): IdealLover
    {
        if (!(self::$instance instanceof self))
        {
            self::$instance = new self();
        }
        return self::$instance;
    }

    /**
     * 设置号主的档案信息
     * @param array $record
     * @return IdealLover
     */
    public function setUserRecord($record = []): IdealLover
    {
        $this->userRecord = $record;
        return $this;
    }

    /**
     * 设置要匹配的档案列表信息
     * @param array $recordList
     * @return IdealLover
     */
    public function setRecordList($recordList = []): IdealLover
    {
        $this->recordList = $recordList;
        return $this;
    }

    /**
     * 限制要进行计算的理想类型
     * @param $data
     * @return $this
     */
    public function setidealTypeIdList($data)
    {
        $this->idealTypeIdList = $data;
        return $this;
    }

    /**
     * 获取错误信息
     * @return string
     */
    public function getError(): string
    {
        return $this->error;
    }

    /**
     * 获取逻辑
     * @return array|array[]
     */
    public function getLogic(): array
    {
        return $this->config;
    }

    /**
     * 计算用户的星盘数据
     * @param array $setting 计算星盘数据时，使用的设置
     * @param array $record
     * @return $this
     */
    private function getNatalData($setting = [], $record = []): self
    {
        if (!empty($this->recordList))
        {
            // 初始化当前星盘数据
            $this->astroData = [];
            $data = Astrolog::getInstance()
                ->setRecode1($record)
                ->setExecPrefix(config('astrolog.prefix'))
                ->setIsAstrolabe(true)
                ->setUserSetting($setting)
                ->setVersion(2)
                ->setGetDatas(['natal'])
                ->getAstroDatas()
                ->getDatas('natal');

            $this->astroData = json_decode(json_encode($data), true);
        }
        return $this;
    }

    /**
     * 计算所有档案每一项的分值
     */
    public function init()
    {
        $res = [];
        if (!empty($this->recordList))
        {
            foreach ($this->recordList as $k => $v)
            {
                try
                {
                    // 获取星盘数据
                    $this->getNatalData($this->setting, $v);
                    $tmp = $this->caclLogic();
                    if (!empty($tmp))
                    {
                        $res[$k] = [
                            'rid' => $v['id'],
                            'name' => $v['name'],
                            'result' => $tmp
                        ];
                    }
                }
                catch (\Exception $e)
                {
                    $this->error = $e->getMessage() . '[' . $e->getFile() . ':' . $e->getLine() . ']';
                }
            }
        }
        return $res;
    }

    /**
     * 计算
     * @return array
     */
    protected function caclLogic()
    {
        $res = [];
        foreach ($this->config as $v1)
        {
            if (!empty($this->idealTypeIdList) && !in_array($v1['id'], $this->idealTypeIdList, false))
            {
                continue;
            }
            // 初始化临时结果数据
            $tmp = [];
            $isExcept = false;
            // 处理排除逻辑
//            if (isset($v1['except']) && !empty($v1['except']))
//            {
//                foreach ($v1['except'] as $ex)
//                {
//                    if ($isExcept === false && $this->logic($ex['type'], $ex['obj1'], $ex['obj2'], $ex['obj3']) === $ex['res'])
//                    {
//                        $isExcept = true;
//                    }
//                }
//            }
            $type = 1;
            if ($isExcept === false)
            {
                // 初始化包含A、B类逻辑临时结果数据
                if (isset($v1['logic']['A'], $v1['logic']['B']))
                {
                    $tmp = ['A' => [], 'B' => []];
                    $type = 0;
                } elseif ($v1['id'] === 64)
                {
                    $type = 2;
                } else
                {
                    $type = 1;
                }
                // 遍历当前标签的具体逻辑
                foreach ($v1['logic'] as $k2 => $v2)
                {
                    // 若为A、B类逻辑
                    if ($k2 === 'A' || $k2 === 'B')
                    {
                        foreach ($v2 as $v3)
                        {
                            if ($this->logic($v3['type'], $v3['obj1'], $v3['obj2'], $v3['obj3']))
                            {
                                $tmp[$k2][] = $v3['res'];
                            }
                        }
                    } else
                    {
                        if ($this->logic($v2['type'], $v2['obj1'], $v2['obj2'], $v2['obj3']))
                        {
                            $tmp[] = $v2['res'];
                        }
                    }
                }
            }
            // 计算最后得分
            $sc = $this->caclScore($tmp, $type);
            if ($sc['res'] <= 0)
            {
                switch ($v1['type'])
                {
                    case 1:
                        $sc['res'] = 11;
                        break;
//                    case 2:
//                        $sc['res'] = 5;
//                        break;
                    case 3:
                        $sc['res'] = 6;
                        break;
                    case 4:
                        $sc['res'] = 7;
                        break;
                    case 5:
                        $sc['res'] = 8;
                        break;
                    case 6:
                        $sc['res'] = 9;
                        break;
                    case 7:
                        $sc['res'] = 10;
                        break;
                    default:
                        $sc['res'] = 5;
                        break;
                }
            }
            $res[] = [
                'id' => $v1['id'],
                'score' => $sc['res'],
                'ori' => $sc['ori'],
                'sex' => $v1['sex']
            ];
        }
        return $res;
    }

    /**
     * 计算分值
     * @param $data
     * @param int $type 0=> 区分AB,1=> 不分AB带系数, 2=>不分AB求和
     * @return array
     */
    protected function caclScore($data, $type): array
    {
        $res = 0;
        $ori = 0;
        switch ($type)
        {
            case 0:
                $countA = count($data['A']);
                $countB = count($data['B']);
                //  单B多A
                if ($countB === 1 && $countA > 1)
                {
                    $res = 99;
                    $ori = array_sum(array_values($data['A'])) + array_sum(array_values($data['B']));
                } // 单A多B
                elseif ($countA === 1 & $countB > 1)
                {
                    $res = 95;
                    $ori = array_sum(array_values($data['A'])) + array_sum(array_values($data['B']));
                } // 单A单B
                elseif ($countA === 1 && $countB === 1)
                {
                    $res = array_sum(array_values($data['A'])) + array_sum(array_values($data['B']));
                    $ori = $res;
                    if ($res < 70) $res = 70;
                    elseif ($res > 90) $res = 90;
                } // 只有A
                elseif ($countA > 0 && $countB === 0)
                {
                    $res = array_sum(array_values($data['A'])) * 0.6;
                    $ori = $res;
                    if ($res < 50) $res = 50;
                    elseif ($res > 80) $res = 80;
                } // 只有B
                elseif ($countA === 0 && $countB > 0)
                {
                    $res = array_sum(array_values($data['B'])) * 0.6;
                    $ori = $res;
                    if ($res < 30) $res = 30;
                    elseif ($res > 50) $res = 50;
                }
                break;
            case 1:
                $itemCount = count($data);
                switch ($itemCount)
                {
                    case 2:
                        $x = 0.6;
                        break;
                    case 3:
                        $x = 0.4;
                        break;
                    case 4:
                        $x = 0.3;
                        break;
                    case 5:
                        $x = 0.25;
                        break;
                    case 6:
                    case 7:
                    case 8:
                    case 9:
                        $x = 0.2;
                        break;
                    default:
                        $x = 1;
                        break;
                }
                // 不分AB的计算方式：
                // 满足2项的计算方式：相加之和乘以0.6
                // 满足3项的计算方式：相加之和乘以0.4
                // 满足4项的计算方式：相加之和乘以0.3
                // 满足5项的计算方式：相加之和乘以0.25
                // 满足6-9项的计算方式：相加之和乘以0.2
                $res = array_sum($data) * $x;
                $ori = $res;
                break;
            case 2:
                $res = array_sum($data);
                $ori = $res;
                break;

        }

        if ($res > 99)
        {
            $res = 99;
        }

        return ['res' => $res, 'ori' => $ori];
    }
}